Geo (microformat)
   HOME

TheInfoList



OR:

Geo is a
microformat Microformats (μF) are a set of defined HTML classes created to serve as consistent and descriptive metadata about an element, designating it as representing a certain type of data (such as contact information, geographic coordinates, events ...
used for marking up
WGS84 The World Geodetic System (WGS) is a standard used in cartography, geodesy, and satellite navigation including GPS. The current version, WGS 84, defines an Earth-centered, Earth-fixed coordinate system and a geodetic datum, and also descr ...
geographical coordinates (
latitude In geography, latitude is a coordinate that specifies the north– south position of a point on the surface of the Earth or another celestial body. Latitude is given as an angle that ranges from –90° at the south pole to 90° at the north pol ...
;
longitude Longitude (, ) is a geographic coordinate that specifies the east–west position of a point on the surface of the Earth, or another celestial body. It is an angular measurement, usually expressed in degrees and denoted by the Greek letter l ...
) in (X)HTML. Although termed a "draft" specification, this is a formality, and the format is stable and in widespread use; not least as a sub-set of the published
hCalendar hCalendar (short for ''HTML iCalendar'') is a microformat standard for displaying a semantic (X)HTML representation of iCalendar-format calendar information about an event, on web pages, using HTML classes and ''rel'' attributes. It allows p ...
and
hCard hCard is a microformat for publishing the contact details (which might be no more than the name) of people, companies, organizations, and places, in HTML, Atom, RSS, or arbitrary XML. The hCard microformat does this using a 1:1 representation of ...
microformat specifications, neither of which is still a draft. Use of Geo allows parsing tools (for example other websites, or
Firefox Mozilla Firefox, or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. It uses the Gecko rendering engine to display web pages, which implements current and ...
's Operator extension) to extract the locations, and display them using some other website or
map A map is a symbolic depiction emphasizing relationships between elements of some space, such as objects, regions, or themes. Many maps are static, fixed to paper or some other durable medium, while others are dynamic or interactive. Although ...
ping tool, or to load them into a
GPS The Global Positioning System (GPS), originally Navstar GPS, is a Radionavigation-satellite service, satellite-based radionavigation system owned by the United States government and operated by the United States Space Force. It is one of t ...
device, index or aggregate them, or convert them into an alternative format.


Usage

*If latitude is present, so must be longitude, and vice versa. *The same number of decimal places should be used in each value, including trailing zeroes.''Must'' and ''should'' are used per the
IETF The Internet Engineering Task Force (IETF) is a standards organization for the Internet and is responsible for the technical standards that make up the Internet protocol suite (TCP/IP). It has no formal membership roster or requirements and a ...
document
The Geo microformat is applied using three
HTML classes HTML attributes are special words used inside the opening tag to control the element's behaviour. HTML attributes are a modifier of an ''HTML element type''. An attribute either modifies the default functionality of an element type or provides fu ...
. For example, the marked-up text:
Belvide: 52.686; -2.193
becomes:
Belvide: 52.686; -2.193
by adding the class-attribute values "geo", "latitude" and "longitude". This will display
Belvide: 52.686; -2.193
and a geo microformat for that location, Belvide Reservoir, which will be detected, on this page, by microformat parsing tools.


hCard

Each Geo microformat may be wrapped in an
hCard hCard is a microformat for publishing the contact details (which might be no more than the name) of people, companies, organizations, and places, in HTML, Atom, RSS, or arbitrary XML. The hCard microformat does this using a 1:1 representation of ...
microformat, allowing for the inclusion of personal, organisational or venue names, postal addresses, telephone contacts,
URL A Uniform Resource Locator (URL), colloquially termed as a web address, is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identifie ...
s, pictures, etc.


Extensions

There are three proposals, none mutually-exclusive, to extend the geo microformat:
geo-extension
- for representing coordinates on other planets, moons etc., and with non-WGS84 schema
geo-elevation
- for representing altitude
geo-waypoint
- for representing routes and boundaries, using waypoints


Users

Organisations and websites using Geo include: *
Flickr Flickr ( ; ) is an American image hosting and video hosting service, as well as an online community, founded in Canada and headquartered in the United States. It was created by Ludicorp in 2004 and was a popular way for amateur and professional ...
- on over three million photo pages *
Geograph Geograph Britain and Ireland is a web-based project, begun in March 2005, to create a freely accessible archive of geographically located photographs of Great Britain and Ireland. Photographs in the Geograph collection are chosen to illustrate ...
- on over one million photo pages *
Google Google LLC () is an American multinational technology company focusing on search engine technology, online advertising, cloud computing, computer software, quantum computing, e-commerce, artificial intelligence, and consumer electronics. ...
*
Multimap In computer science, a multimap (sometimes also multihash, multidict or multidictionary) is a generalization of a map or associative array abstract data type in which more than one value may be associated with and returned for a given key. Both m ...
- all map pages *
OpenStreetMap OpenStreetMap (OSM) is a free, open geographic database updated and maintained by a community of volunteers via open collaboration. Contributors collect data from surveys, trace from aerial imagery and also import from other freely licensed g ...
- wiki pages about places, GPS traces and diary entries *Wikipedia - embedded in geo templates of map-link pages **
German Wikipedia The German Wikipedia (german: Deutschsprachige Wikipedia) is the German-language edition of Wikipedia, a free and publicly editable online encyclopedia. Founded on March 16, 2001, it is the second-oldest Wikipedia (after the English Wikipedia), ...
- ditto **
Dutch Wikipedia The Dutch Wikipedia ( nl, Nederlandstalige Wikipedia) is the Dutch-language edition of the free online encyclopedia, Wikipedia. It was founded on 19 June 2001. As of , the Dutch Wikipedia is the -largest Wikipedia edition, with articles. It w ...
- ditto **
Swedish Wikipedia The Swedish Wikipedia ( sv, Svenskspråkiga Wikipedia) is the Swedish-language edition of Wikipedia and was started on the 23 of May 2001. It is currently the largest Wikipedia by article count with its current articles, it has a ''Wikipedia ...
- ditto **
Italian Wikipedia The Italian Wikipedia ( it, Wikipedia in italiano) is the Italian-language edition of Wikipedia. This edition was created on May 11, 2001 and first edited on June 11, 2001. As of , , it has articles and more than registered accounts. It is th ...
*
Wikivoyage Wikivoyage is a free web-based travel guide for travel destinations and travel topics written by volunteer authors. It is a sister project of Wikipedia and supported and hosted by the same non-profit Wikimedia Foundation (WMF). Wikivoyage has ...
Many of the organisations publishing hCard include a geo as part of that.


h-geo

An alternative to Geo, h-geo, has been proposed. This is applied using three
HTML classes HTML attributes are special words used inside the opening tag to control the element's behaviour. HTML attributes are a modifier of an ''HTML element type''. An attribute either modifies the default functionality of an element type or provides fu ...
. For example:
Belvide: 52.686; -2.193; 120
by adding the class-attribute values "h-geo", "p-latitude", "p-longitude", and "p-altitude".


See also

*
GeoSPARQL GeoSPARQL is a standard for representation and querying of geospatial linked data for the Semantic Web from the Open Geospatial Consortium (OGC). The definition of a small ontology based on well-understood OGC standards is intended to provide a st ...
,
Geographic Information System A geographic information system (GIS) is a type of database containing Geographic data and information, geographic data (that is, descriptions of phenomena for which location is relevant), combined with Geographic information system software, sof ...
(GIS) data for the W3C Semantic Web using the
Resource Description Framework The Resource Description Framework (RDF) is a World Wide Web Consortium (W3C) standard originally designed as a data model for metadata. It has come to be used as a general method for description and exchange of graph data. RDF provides a variety of ...
(RDF) and
SPARQL SPARQL (pronounced "sparkle" , a recursive acronym for SPARQL Protocol and RDF Query Language) is an RDF query language—that is, a semantic query language for databases—able to retrieve and manipulate data stored in Resource Description F ...
*
Geo URI The geo URI scheme is a Uniform Resource Identifier (URI) scheme defined by the Internet Engineering Task Force's RFC 5870 (published 8 June 2010) as: a Uniform Resource Identifier (URI) for geographic locations using the 'geo' scheme name. A ...
specified in *
ISO 6709 ISO 6709, ''Standard representation of geographic point location by coordinates'', is the international standard for representation of latitude, longitude and altitude for geographic point locations. The first edition (ISO 6709:1983) was develo ...
*
ICBM address ICBM (intercontinental ballistic missile) address or missile address is hacker slang for one's longitude and latitude (preferably to seconds-of-arc accuracy) when placed in a signature or another publicly available file. Origin The form that u ...
, an older
geotagging Geotagging, or GeoTagging, is the process of adding geographical identification metadata to various media such as a geotagged photograph or video, websites, SMS messages, QR Codes or RSS feeds and is a form of geospatial metadata. This data u ...
format *
Schema.org Schema.org is a reference website that publishes documentation and guidelines for using structured data mark-up on web-pages (called microdata). Its main objective is to standardize HTML tags to be used by webmasters for creating rich results (di ...
, web standar
schema.org/geo


Notes


References


External links


Geo spec
with notes and examples
Geo cheat-sheet
a quick reference {{DEFAULTSORT:Geo (Microformat) Microformats Geocodes